import {
  COMPREIFX,
  INDENTIFICATION,
  NAVIGATE_PARAMS,
} from "../../../libs/const/widget";
export const JSON = {
  isOnly: false,
  isModule: false,
  type: `${COMPREIFX}gird`,
  sign: INDENTIFICATION.BUSINESS,
  style: {
    width: "",
    position: "relative",
    left: 0,
    right: 0,
    top: 0,
    bottom: 0,
    borderRadius: "10rpx",
    marginTop: "0rpx",
    marginBottom: "0rpx",
    marginLeft: "0rpx",
    marginRight: "0rpx",
    imageAndTextIconSize: "68rpx",
  },
  attribute: {
    type: "imageAndText", //imageAndText-图文布局，image-单图片布局，imageLeftAndRight-图片左大右二布局，imageRightAndLeft-图片右大左二布局
    col: 4,
    list: [
      {
        imageUrl: "",
        text: "默认",
        ...NAVIGATE_PARAMS,
      },
      {
        imageUrl: "",
        text: "默认",
        ...NAVIGATE_PARAMS,
      },
      {
        imageUrl: "",
        text: "默认",
        ...NAVIGATE_PARAMS,
      },
      {
        imageUrl: "",
        text: "默认",
        ...NAVIGATE_PARAMS,
      },
    ],
  },
  events: {},
  items: [],
};
export const CONFIG = {
  isShow: true,
  sign: INDENTIFICATION.BUSINESS,
  type: `${COMPREIFX}gird`,
  name: "魔方导航",
  icon: "https://hyyxboss.oss-cn-shenzhen.aliyuncs.com/img/pub/lcdp/gird.png",
  path: `/components/${COMPREIFX}gird/index.vue`,
};

export default {
  JSON,
  CONFIG,
};
